package com.auto.learning.bean;

import java.io.Serializable;

import com.auto.learning.store.core.BaseModel;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "t_anchor")
public class AnchorBean extends BaseModel<AnchorBean, Integer> implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@DatabaseField(id = true, generatedId = false)
	protected int id;
	@DatabaseField
	protected String name;
	@DatabaseField
	protected String style;
	@DatabaseField
	protected String area;
	@DatabaseField
	protected String intro;
	@DatabaseField
	protected String face;
	@DatabaseField
	protected int favorNum;
	@DatabaseField
	protected int stars ;
	@DatabaseField
	protected int bookNum;
	@DatabaseField
	protected int isFavor = 1;		

	public int getStars() {
		return stars;
	}

	public int getIsFavor() {
		return isFavor;
	}

	public void setIsFavor(int isFavor) {
		this.isFavor = isFavor;
	}

	public void setStars(int stars) {
		this.stars = stars;
	}

	public int getBookNum() {
		return bookNum;
	}

	public void setBookNum(int bookNum) {
		this.bookNum = bookNum;
	}

	public int getFavorNum() {
		return favorNum;
	}

	public void setFavorNum(int favorNum) {
		this.favorNum = favorNum;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getStyle() {
		return style;
	}

	public void setStyle(String style) {
		this.style = style;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public String getFace() {
		return face;
	}

	public void setFace(String face) {
		this.face = face;
	}
}
